//
//  YCLabelAlertView.h
//  DemoAlertView
//
//  Created by tangkexiong on 15/9/28.
//  Copyright (c) 2015年 tangkexiong. All rights reserved.
//

#import <UIKit/UIKit.h>

@class YCLabelAlertView;

@protocol YCLabelAlertViewDelegate <NSObject>

@optional
- (void)labelAlertViewClickedCancelButton:(YCLabelAlertView *)alertView;
- (void)labelAlertView:(YCLabelAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex;

@end

/**
 *  对话框-展示信息
 */
@interface YCLabelAlertView : UIViewController

/** 代理 */
@property (nonatomic, assign) id<YCLabelAlertViewDelegate> myDelegate;

@property (nonatomic, strong) UILabel *titleLabel;
@property (nonatomic, strong) UIButton *cancelBtn;
@property (nonatomic, strong) UILabel *contentLabel;

- (instancetype)initWithTitle:(NSString *)title message:(NSString *)message delegate:(id<YCLabelAlertViewDelegate>)delegate cancelButtonImg:(UIImage *)cancelButtonImg otherButtonTitles:(NSString *)otherButtonTitles, ... NS_REQUIRES_NIL_TERMINATION;
// 显示
- (void)showInViewController:(UIViewController *)vc;

@end
